﻿Namespace UpgradeSystem.VersionManagement
    Public Class InstalledVersion

        Public Shared Property CurrentlyInstalledVersion As InstalledVersion
            Get
                Return Aricie.DNN.Settings.GetModuleSettings(Of InstalledVersion)(Aricie.DNN.Settings.SettingsScope.HostSettings, -1)
            End Get
            Set(value As InstalledVersion)
                Aricie.DNN.Settings.SetModuleSettings(Of InstalledVersion)(Aricie.DNN.Settings.SettingsScope.HostSettings, -1, value)
            End Set
        End Property

        Public Property Version As String = "0.0.0"
        Public Property InstalledDate As DateTime = DateTime.Now
    End Class
End Namespace